Computes the median of the values in an array.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | x(:) |
The array of values to analyze. |
Median; empty arrays or nonfinite observations give NaN.
Computes the median by sorting a copy, leaving the column unchanged.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(data_column), | intent(in) | :: | x |
The input column; unallocated storage is treated as empty. |
Median; empty or nonfinite data give NaN.